package com.bckj.fastboot.iot.data.mongo.convert;

import com.bckj.fastboot.core.mapstruct.MapStructConfig;
import com.bckj.fastboot.iot.common.dto.request.MessageRecordRequest;
import com.bckj.fastboot.iot.data.mongo.entity.MessageRecord;
import org.mapstruct.Mapper;

/**
 * MessageRecordConvert
 *
 * @author wfc
 * @date 2025/10/9 13:26
 **/
@Mapper(config = MapStructConfig.class)
public interface MessageRecordConvert {

    MessageRecord toEntity(MessageRecordRequest request);
}
